<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

</body>
</html>
<script>
    function Animal() {
        
    }

    function Animal() {

    }
    //
    // console.log(typeof Animal.prototype);
    // console.log( Animal.prototype);
    Animal.prototype.name = "wangwu";
    Animal.prototype.age = 12;
    // console.log(Animal.prototype.name)


    var a1 = new Animal();
    a1.name = "zhaoliu";
    a1.age = 10;
    console.log(a1.name);
    console.log(a1.age)

console.log(this)


    
</script>